package System;

import java.util.Date;

public class SystemDemo {
	public static void main(String[] args) {
		method();
		System.out.println(System.currentTimeMillis());
		Date d = new Date();
		System.out.println(d.toLocaleString());
	}

	private static void method() {
		int[] src = {1,2,3,4,5};
		int[] dest = new int[5];
		
		System.arraycopy(src, 2, dest, 2, 3);
		for(int i=0;i<dest.length;i++) {
			System.out.println(dest[i]);
		}
	}
}
